package lambda.string;

public class ValueOfDemo {
    public static void main(String[] args) {
        int a=123;
        String s=String.valueOf(a);
        System.out.println(s);
        double dou=123.456;
        String s2=String.valueOf(dou);
        System.out.println(s2);

        String s3=a+"";
        System.out.println(s3);
    }
}
